//
//  WYPayAlertTooler.h
//  Boss
//
//  Created by admin on 2018/7/16.
//  Copyright © 2018年 admin. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^BtnClickBlock)(NSInteger tag);
typedef void(^WarnBtnClickBlock)(BOOL success);
typedef void(^DismissBlock)(BOOL success);
@interface WYPayAlertTooler : NSObject
@property (nonatomic, copy) BtnClickBlock    block;
@property (nonatomic, copy) WarnBtnClickBlock    wblock;
@property (nonatomic, copy) DismissBlock    disblock;
- (void)dismissAnimation:(void (^)(BOOL success))complete;

+ (WYPayAlertTooler *)sharedInstance;
- (void)showAlertTitle:(NSString *)title
               message:(NSString *)msg
             imageName:(NSString *)name
             btnTitles:(id)titles
            btnClicked:(void(^)(NSInteger index))click;

@end
